#!/bin/bash

pkill gor
gor compile
nohup gor http &

git pull
git add .
git commit -am "update"
git push

ssh ubuntu@xing "cd /home/ubuntu/blog-gar && git pull"